<template>
  <div>
    <div>
      <el-row>
        <el-col :span="20" :offset="2">
          <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item :to="{ path: '/account/cluster' }"><span>CLUSTER</span></el-breadcrumb-item>
            <el-breadcrumb-item><span class="spn">抗感染基层</span></el-breadcrumb-item>
          </el-breadcrumb>
        </el-col>
        <el-col :span="20">
          <div>
            <div :class="item.toolscon" v-for="item in items">
              <ul :class="item.tools" class="tools">
                <li :class="item.class"><span>{{item.name}}</span></li>
              </ul>
            </div>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="20" :offset="2">
          <ClusterMessage></ClusterMessage>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
  import ClusterMessage from './ClusterMessage'
  export default {
    data() {
      return {
        items: [
          {toolscon:'tools-con1',tools:'tools1',class:'del',name:'删除'},
          {toolscon:'tools-con2',tools:'tools2',class:'copy',name:'复制'},
/*          {toolscon:'tools-con3',tools:'tools3',class:'attend',name:'计划院内会'},
          {toolscon:'tools-con4',tools:'tools4',class:'visit',name:'计划拜访'},
          {toolscon:'tools-con5',tools:'tools5',class:'mail',name:'发送邮件'},
          {toolscon:'tools-con6',tools:'tools6',class:'join',name:'加入旅程'},*/
        ]
      }
    },
    components: {
      ClusterMessage
    },
  }
</script>

<style scoped>
  @import '../../../assets/index.css';
  .el-row{
    padding: 10px 0;
  }
  .el-breadcrumb{
    height: 50px;
    font-size: 20px;
  }
  .el-breadcrumb>.el-breadcrumb-item{
    text-decoration: none;
  }
  span{
    color: #fff;
  }
  .spn{
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 2px solid #fff;
  }

  .tools-con{
    background-color: rgba(245, 245, 248, 0.1);
    border-radius: 10px;
    padding: 20px 10px;
  }

  .tools>li{
    color: #fff;
    list-style-type:none;
    padding: 0 8px 0 40px;
    border: 2px solid #fff;
    line-height: 40px;
    border-radius: 3px;
    font-size: 18px;
  }
  /*一*/
  .tools-con1{
    position: absolute;
    right: 0;
    overflow: hidden;
    z-index: 99;
  }
  .tools1{
    margin-right: -47px;
  }
  .tools1:hover{
    width: 150px;
  }
  /*二*/
  .tools-con2{
    position: absolute;
    right: 0;
    top: 120px;
    overflow: hidden;
    z-index: 99;
  }
  .tools2{
    margin-right: -47px;
  }
  .tools2:hover{
    width: 150px;
  }
  /*三*/
  .tools-con3{
    position: absolute;
    right: 0;
    top: 170px;
    overflow: hidden;
    z-index: 99;
  }
  .tools3{
    margin-right: -100px;
  }
  .tools3:hover{
    width: 250px;
  }
  /*四*/
  .tools-con4{
    position: absolute;
    right: 0;
    top: 220px;
    overflow: hidden;
    z-index: 99;
  }
  .tools4{
    margin-right: -83px;
  }
  .tools4:hover{
    width: 210px;
  }
  /*五*/
  .tools-con5{
    position: absolute;
    right: 0;
    top: 270px;
    overflow: hidden;
    z-index: 99;
  }
  .tools5{
    margin-right: -83px;
  }
  .tools5:hover{
    width: 210px;
  }
  /*六*/
  .tools-con6{
    position: absolute;
    right: 0;
    top: 320px;
    overflow: hidden;
    z-index: 99;
  }
  .tools6{
    margin-right: -83px;
  }
  .tools6:hover{
    width: 210px;
  }
</style>
